package com.lyj.mall.form;

import lombok.Data;

/**
 * @author lyj 存入redis的购物车对象
 * @date 2020/1/17 18:16
 */
@Data
public class Cart {

    private Integer productId;
    private Integer quantity;
    private Boolean selected;

    public Cart() {
    }

    public Cart(Integer productId, Integer quantity, Boolean selected) {
        this.productId = productId;
        this.quantity = quantity;
        this.selected = selected;
    }
}
